package com.block.common.service.impl;

import com.block.db.entity.SystemConstantInfo;
import com.block.db.mapper.SystemConstantInfoMapper;
import com.block.common.service.ISystemConstantInfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 系统常量信息 服务实现类
 * </p>
 *
 * @author 
 * @since 2024-07-16
 */
@Service
public class SystemConstantInfoServiceImpl extends ServiceImpl<SystemConstantInfoMapper, SystemConstantInfo> implements ISystemConstantInfoService {


    @Autowired
    private SystemConstantInfoMapper systemConstantInfoMapper;
    @Override
    public SystemConstantInfo getSystemByCode(String id) {
        return systemConstantInfoMapper.selectById(id);
    }
}
